This method allows you to specify a time-out value for the operation.
使用此方法可以为操作指定一个超时值。
The first test that runs might have a per-test time-out value assigned.
执行的第一项测试可能已指派每个测试的逾时值。
Rounding away from zero prevents busy-wait loops where a zero time-out value causes 100 percent processor utilization.
避免舍入为零可防止出现“繁忙等待”循环,即零超时值导致100%的处理器使用。
应用推荐